/* General styles for the modal */

/* 
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the 
perspective effects (not including the modals and the overlay).
*/
.md-perspective, .md-perspective body {
	height: 100%;
	overflow: hidden;
}

.md-perspective body {
	background: #fff;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}

.container {
	min-height: 100%;
}

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 550px;
	height: auto;
	z-index: 9999999;
	visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 9999995;
	opacity: 0;
	background: rgba(1, 1, 1, 0.6);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}

/* Content styles */
.md-content {
	color: #5b5b5b;
	background: #fff;
	position: relative;
	border-radius: 4px;
	margin: 0 auto;
}

.md-content h3 {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	padding: 20px;
	text-align: center;
	background: #fff;
	border-radius: 0;
	color: #797979;
}

.md-content>div {
	padding: 15px 40px 30px;
	margin: 0;
	font-weight: 300;
	font-size: 14px;
}

.md-content>div p {
	margin: 0;
	padding: 10px 0;
}

.md-content>div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}

.md-content>div ul li {
	padding: 5px 0;
}

/* Individual modal styles with animations/transitions */
/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}
/* Effect 4: Newspaper */
.md-effect-4 .md-content {
	-webkit-transform: scale(0) rotate(720deg);
	-moz-transform: scale(0) rotate(720deg);
	-ms-transform: scale(0) rotate(720deg);
	transform: scale(0) rotate(720deg);
	opacity: 0;
}

.md-show.md-effect-4 ~ .md-overlay, .md-effect-4 .md-content {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.md-show.md-effect-4 .md-content {
	-webkit-transform: scale(1) rotate(0deg);
	-moz-transform: scale(1) rotate(0deg);
	-ms-transform: scale(1) rotate(0deg);
	transform: scale(1) rotate(0deg);
	opacity: 1;
}
/* Effect 10: 3D sign */
.md-effect-10.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-10 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateX(-60deg);
	-moz-transform: rotateX(-60deg);
	-ms-transform: rotateX(-60deg);
	transform: rotateX(-60deg);
	-webkit-transform-origin: 50% 0;
	-moz-transform-origin: 50% 0;
	transform-origin: 50% 0;
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-10 .md-content {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	-ms-transform: rotateX(0deg);
	transform: rotateX(0deg);
	opacity: 1;
}
/* Effect 13: 3D slit */
.md-effect-13.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-13 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(-3000px) rotateY(90deg);
	-moz-transform: translateZ(-3000px) rotateY(90deg);
	-ms-transform: translateZ(-3000px) rotateY(90deg);
	transform: translateZ(-3000px) rotateY(90deg);
	opacity: 0;
}

.md-show.md-effect-13 .md-content {
	-webkit-animation: slit .7s forwards ease-out;
	-moz-animation: slit .7s forwards ease-out;
	animation: slit .7s forwards ease-out;
}

@-webkit-keyframes slit {
	50% { -webkit-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -webkit-animation-timing-function: ease-out;}
	100% { -webkit-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@-moz-keyframes slit {
	50% { -moz-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -moz-animation-timing-function: ease-out;}
	100% { -moz-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@keyframes slit {
	50% { transform: translateZ(-250px) rotateY(89deg); opacity: 1; animation-timing-function: ease-in;}
	100% { transform: translateZ(0) rotateY(0deg); opacity: 1; }
}
.dialog-header {
	background-color: #f7faff;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	height: 44px;
	font-weight: 200;
}

.dialog-header-title {
	display: block;
	margin-right: 50px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.share-dialog .tab {
	height: 50px;
	border-bottom: 1px solid #c4dbfe;
}

.share-dialog .tab {
	padding: 0 20px 10px;
}

.share-dialog .tab li {
	margin: 0 20px 0 0;
	width: 80px;
	display: inline-block;
	text-align: center;
	color: #657699;
	cursor: pointer;
	position: relative;
	font-size: 12px;
}

.content .tab li {
	text-align: center;
	display: block;
	float: left;
	list-style: none;
}

.content .tab li em {
	display: block;
	font-size: 18px;
}

.share-dialog .tab .current {
	color: #3b8cff;
}

.current em {
	color: #3b8cff;
}

.share-dialog .create-link {
	margin: 10px 0;
	position: relative;
	height: 165px;
	line-height: 24px;
}

.share-dialog .create-link .validity-section tr td {
	valign: top;
	font-weight: 50;
	font-size: 12px;
	color: #333;
}

.first-child {
	width: 75px;
	text-align: right;
}

.share-dialog .create-link .validity-section tr td {
	height: 50px;
	text-align: left;
	padding: 15px 10px 0;
	color: #8b909e;
}

.share-method-line {
	width: 350px;
}

.share-dialog textarea, .share-dialog input {
	outline: 0;
	resize: none;
}

.share-dialog .create-link .validity-section tr td button.choose-value {
	padding: 0;
	background: #fff;
	width: 88px;
	height: 30px;
	line-height: 30px;
	margin-left: 0;
	cursor: pointer;
	border: 1px solid #e0e1e4;
	position: relative;
}

.share-dialog .create-link .validity-section tr td button.choose-value:active
	{
	border: 1px solid #e0e1e4;
	outline: none;
}

.share-dialog .create-link .validity-section tr td .choose-value em {
	position: absolute;
	font-size: 12px;
	color: #545e74;
	right: 7px;
	bottom: 10px;
}

.share-dialog .create-link .validity-section tr td ul.choose-list {
	list-style: none;
	border: 1px solid #e5e9ef;
	width: 100px;
	display: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 1px 0 1px #e5e9ef;
	-webkit-box-shadow: 1px 0 1px #e5e9ef;
	box-shadow: 1px 0 1px #e5e9ef;
	background: #fff;
	position: absolute;
	margin-left: -5px;
	z-index: 1;
	padding: 2px 0;
}

.share-dialog .create-link .validity-section tr td ul.choose-list li {
	height: 22px;
	width: 100px;
	line-height: 22px;
	text-align: center;
	color: #424e67;
	cursor: pointer;
	font-family: "微软雅黑";
	font-size: 12px;
	position: relative;
}

.share-dialog em {
	font-style: normal;
}

.share-dialog .create-link .validity-section tr td ul.choose-list li span
	{
	color: #3b8cff;
	position: absolute;
	right: 7px;
	top: 8px;
	display: none;
}

.share-dialog .create-link .validity-section tr td ul.choose-list li.choose-checked span
	{
	color: #3b8cff;
	position: absolute;
	right: 7px;
	top: 8px;
	display: block;
}

.share-dialog .footer {
	position: absolute;
	bottom: 45px;
	padding: 0 15px;
	width: 500px;
}

.create {
	color: #fff;
	margin-left: 250px;
	display: block;
	background: #3b8cff;
	border-radius: 4px;
	height: 32px;
	text-align: center;
	line-height: 32px;
	width: 115px;
}

.create:hover, .create:link {
	text-decoration: none;
	color: #fff;
}

.close {
	opacity: 1;
	height: 33px;
	display: block;
	width: 92px;
	font-size: 14px;
	line-height: 33px;
	text-align: center;
	color: #3b8cff;
	border-radius: 3px;
	box-shadow: none;
	border: 1px solid #3b8cff;
}

.close:hover {
	border: 1px solid #333;
	text-decoration: none;
	color: #333;
}

.create-success em {
	color: #3b8cff;
	font-size: 17px;
}

.share-dialog .content .private-link .link-info, .share-dialog .content .private-link .private
	{
	display: block !important;
}
.share-dialog .content .url{
	height: 39px;
	line-height: 38px;
	width: 360px;
	padding: 3px 8px;
	border: 1px solid #e9e9e9;
	border-radius: 4px;
	display: inline-block;
}
.share-dialog .content .share-url {
	width: 270px;
	height: 30px;
	border:none;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.password {
	width: 200px;
	margin-top: 5px;
}

.password a {
	display: inline-block;
	color: #818796;
	font-size: 13px;
	text-decoration: none;
	padding: 5px 0;
	margin-top: 10px;
}

.share-dialog .create-link .share-password {
	height: 38px;
	line-height: 38px;
	width: 68px;
	padding: 8px;
	border: 1px solid #e9e9e9;
	border-radius: 4px;
	display: inline-block;
}

.share-dialog .create-link .url .share-validity-tip {
	position: absolute;
	font-size: 12px;
	background:#fff;
	margin-top:0px;
	height:30px;
	line-height:30px;
	z-index:8;
	right: 147px;
	color: #818796;
}

#copyShare:hover {
	text-decoration: none;
}

#copyShare .private {
	color: #fff;
	display: block;
	right: 20px;
	margin-top: 3px;
	position: absolute;
	background: #3b8cff;
	border-radius: 4px;
	height: 32px;
	text-align: center;
	line-height: 32px;
	width: 115px;
	cursor: pointer;
}

#copyShare .public {
	color: #fff;
	display: none;
	right: 20px;
	margin-top: 3px;
	position: absolute;
	background: #3b8cff;
	border-radius: 4px;
	height: 32px;
	text-align: center;
	line-height: 32px;
	width: 90px;
	cursor: pointer;
}

#copyShare .private:hover {
	opacity: 0.8;
}

.copy-tips {
	text-align: center;
	position: absolute;
	color: #3b8cff;
	display: none;
	right: 40px;
	font-size: 12px;
	margin-top: 35px;
}

.description {
	margin-top: 10px;
}

.description .private {
	display: inline-block;
	color: #818796;
	font-size: 13px;
	text-decoration: none;
	padding: 5px 0;
	margin-top: 10px;
}

.description .public {
	color: #818796;
	font-size: 13px;
	text-decoration: none;
	padding: 5px 0;
	margin-top: 10px;
}

/* 复制模态框 */
.md-content .dialog-tree{
	height:200px;
	width:90%;
	margin:5px auto;
	border:1px solid #ced1d9;
	overflow: auto;
}
.menuTree div ul {
	display: none;
	padding:5px 20px;
}
.menuTree span {
	display: inline-block;
	height: 20px;
	line-height: 20px;
	padding-left: 5px;
	margin: 1px 0;
	cursor: pointer;
}

.menuTree span:hover {
	color: #cf0404;
}

.menuTree a {
	color: #333;
	text-decoration: none;
}

.menuTree a:hover {
	color: #06F;
}
.dialog-footer {
	height:52px;
	line-height:52px;
	padding-bottom:15px;
	padding:0;
    text-align: center;
}
.dialog-footer .g-button{
	margin: -5px 5px 0;
	text-decoration: none;
    color: #3b8cff;
    border: 1px solid #c0d9fe;
    border-radius: 4px;
    height: 32px;
    line-height: 32px;
    text-align: center;
}
.dialog-footer .g-button:hover{
	opacity:0.8;
}
.dialog-footer .g-button-large{
	padding:0 6px;
}
.dialog-footer .g-button-blue-large {
    height:32px;
    color:#fff;
    padding:0 6px;
    border: 1px solid #3b8cff;
    background: #3b8cff;
}
.dialog-footer .g-button-right{
	height: 32px;
    line-height: 32px;
    padding-right: 10px;	
    text-align: center;
}
.dialog-drag .fa-times{
	transition: color 0.3s linear;
}

.dialog-drag .fa-times:hover{
	color:#f6f6f6;
	cursor: pointer;
}